﻿using System;
using System.Collections.Generic;

namespace MockFramework.Tests.CustomTests
{
    public class Teste : ATeste, ITeste
    {
        public List<String> _repo { get; set; }

        public bool Add(String teste)
        {
            _repo.Add(teste);
            return true;
        }

        public void Remove(String teste)
        {
            _repo.Remove(teste);
        }

        public override String ToString()
        {
            return base.ToString();
        }

        public override void ToDoStuff(String a, String b, Int32 c, Boolean d)
        {
            Console.WriteLine("Abstract ToDoStuff -> StuffDone");
        }

        public override IEnumerable<Int32> Lenght()
        {
            List<Int32> ex = new List<Int32>();
            ex.Add(_repo.Count);
            return ex;
        }

        public override Dictionary<Int32, Int32> MyDict()
        {
            Dictionary<Int32, Int32> ex = new Dictionary<Int32, Int32>();
            ex.Add(42,42);
            return ex;
        }
    }
}
